package cn.cdzdjd.util;

public class UserHolder {
	
	private static ThreadLocal<Long> local = new ThreadLocal<>();

	public static void setHolder(Long userId) {
		local.set(userId);
	}

	public static Long getHolder() {
		return local.get();
	}

	public static void remove() {
		local.remove();
	}

}
